(function($){
		$.fn.slideContent = function(options) {	
			options=$.extend({
				  width: 1000,
				  height: 380,
				  delay: 5000,
				  duration: 1000
			  },options);
			$(this).each(function(){
				var $ob = $(this);
				var $length = $ob.find('> div').length;
				var $num = 0;
				
				$ob.css({
					width : options.width,
					height : options.height,
					overflow : 'hidden',
					position: 'relative'
				});
				$ob.find('> div').css({
					position : 'absolute',
					opacity : 0.0,
					width : options.width,
					height : options.height,
				});
				$ob.find('> div:first').css({
					zIndex : 10,
					opacity : 1.0
				});
				
				if ($length > 1) {
					var $t = setInterval(function() {
						var $active = $ob.find('> div:eq(' + $num + ')');
						var $width = 0;
						
						$active.animate({
							left : -$width,
							opacity : 0.0
						}, options.duration, function() {
							$active.css({
								zIndex : 9
							});
						});						
						
						
						$num++;
						if ($num > $length - 1){
							$num = 0;
						}
						var $next = $ob.find('> div:eq(' + $num + ')');
						$width = $next.width();
						$next.css({
							left : $width,
							zIndex : 10,
							opacity : 0.0
						}).animate({
							left : 0.0,
							opacity : 1.0
						}, options.duration, function() {
							$active.css({
								opacity : 0.0
							});
						});
					}, options.delay);
				}
			});
		};

	}(jQuery));